#include "lsw100.h"
#include "led.h"
#include "clock.h"
#include "timer.h"

static int test_led(void)
{
#if 1	
 	
		led_revert(1);
		led_revert(2);
		led_revert(3);
		led_revert(4);
		led_revert(5);
		led_revert(6);
		led_revert(7);
		led_revert(8);
		//mdelay(1000);

#endif
	return 1;
}


void TestSuiteJob(void *tid , void * arg) 
{
	//test_led();
}

static int test_suite_init(void)
{
	u8 ret = 0;
	struct TimerDevice* dev;

	
	DEBUG_FUNC();
	dev = request_timer(1);
	
	if(dev == NULL) return 0;
	
	if( dev ){
		if(!create_timer(dev, DELAY_SECOND, TestSuiteJob, NULL, LOOP))
			return 0;
	}

	return 1;
}
#if (TEST_MODULE_EN > 0)
module_initcall(test_suite_init);
#endif
